package com.example.docking.service;

import com.example.docking.dao.jindie.request.MaterialDataRequest;
import com.smecloud.apigw.model.ApiResult;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public interface DataService {

    public ApiResult SelectDataList(String path, HashMap<String, String> map, Object o) throws Exception;

    public ApiResult InsertDataOne(String path, HashMap<String, String> map, Object materialData) throws Exception;

    public ApiResult UpdateData(String path, HashMap<String, String> map, Object materialData) throws Exception;

    public ApiResult DeleteData(String path, HashMap<String, String> map, MaterialDataRequest materialData) throws Exception;

    public ApiResult SelectDataDetail(String path, HashMap<String, String> map, Object o) throws Exception;

    public ApiResult SelectDataAudit(String path, HashMap<String, String> map, Object o) throws Exception;
}
